package net.techwatch.jpa.dao;

import java.util.List;

import net.techwatch.jpa.entity.Customer;

/**
 * @author wilfried
 *
 */
public interface ICustomerDao extends Dao<Long, Customer> {

	/**
	 * @param name
	 * @return
	 */
	List<Customer> findByLastName(String name);
	
	/**
	 * @param phoneNumber
	 * @return
	 */
	List<Customer> findByPhoneNumber(String phoneNumber);
}
